import axios from 'axios'
const _axios = axios.create({

})
_axios.interceptors.request.use(
    config => {
        config.headers['Authorization'] = 'Bearer sk-52cc784a78c24bd598c784d4f8e1b40c'
        if(config.method=="post"){
            config.headers['Content-Type'] = 'application/json'
        }
        return config
    }
)
export default _axios